package com.rongchuan.wt.constant;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 错误信息常量类
 */
public class MessageContant {


    //部门名称重复
    public static final String DEP_NAME_REPEAT = "部门名称重复";

    //部门编码不许修改
    public static final String DEP_CODE_NOT_EDIT = "部门编码不许修改";
    //部门下存在员工信息禁止删除
    public static final String DEP_EMP_EXIST = "部门下存在员工信息禁止删除";

    public static final String DEPT_CODE = "DEPT_CODE";


    // 员工离职状态 0-在职 1-离职
    public final static int YG_STATUS_ZL = 0;
    public final static int YG_STATUS_LZ = 1;
    public final static Map<Integer, String> mapYG_STATUS = new LinkedHashMap<Integer, String>();

    static {
        mapYG_STATUS.put(YG_STATUS_ZL, "在职");
        mapYG_STATUS.put(YG_STATUS_LZ, "离职");
    }
    public static final String EMPLOYEE_INSERT_TOPIC = "EMPLOYEE_INSERT_TOPIC";
}
